/**
 * @file
 * @author Filipe Mutz
 *
 * @section DESCRIPTION
 * This file performs some tests with the log polar filter
 */
#include "filter.h"
#include "image.h"

using namespace brain::image;
using namespace brain::filter;

int main(int argc, char **argv)
{
	if (argc < 3)
		printf("Use %s <imagem-entrada> <imagem-saida>\n", argv[0]);

	ColorImage img, output;
	LogPolarFilter filter;

	img.read((char *) argv[1]);
	output = img;

	filter.transform(img, output, img.width() / 2, img.height() / 2);

	output.save(argv[2]);
	return 0;
}




